<?php
/*
 * Tento soubor slouží k odesílání emailů pomocí funkce Send
 * 
 */

function Send($pEmailPrefix, $pEmailRecipient, $pSubject, $pEmailSender, $pSpam, $pMessage) {
    if ($pSubject != "" and $pEmailSender != "" and $pMessage != "" and $pSpam == "6") {
        Mail($pEmailRecipient, $pEmailPrefix . " " . $pSubject, $pMessage, 'Content-type: text/html; charset=utf-8' . "\r\n" . 'From: ' . $pEmailSender);
    }
}
?>